from django.conf.urls import url

from rest_framework_jwt.views import obtain_jwt_token

from . import views


urlpatterns=[
    url(r"^mobiles/(?P<mobile>1[3-9]\d{9})/count/$",views.UserMobileCount.as_view()),
    url(r"^users/$",views.UserView.as_view()),
    url(r"^user/$",views.UserBasicInfoView.as_view()),
    url(r"^authorizations/$",obtain_jwt_token),
    url(r"^user/answer/$",views.UserAnswerView.as_view()),
    url(r"user/share/$",views.UserShareView.as_view())

]

